/*
 * @Author: your name
 * @Date: 2021-10-20 23:02:57
 * @LastEditTime: 2021-10-23 22:00:24
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: /distribution/src/api/pay.ts
 */
import { server } from './server'

export const getCashList = (params) => {
    const {pageNum, pageSize} = params
    return server.POST<any, any>(`/user/cash/out/list?pageNum=${pageNum}&pageSize=${pageSize}`)
}

export const payCashOut = (params) => {
    const {amount} = params
    return server.POST<any, any>(`/alipay/cash/out?amount=${amount}`)
}

